package com.erlin.common.client;

import feign.Param;
import feign.RequestLine;

public interface WxClient {
    /**
     * 获取clientToken
     *
     * @return
     */
    @RequestLine("GET /api/fruit-tree/list")
    Object test();


    @RequestLine("GET /sns/jscode2session?appid={appid}&secret={secret}&js_code={code}&grant_type=authorization_code")
    WxClientRes getWxUser(@Param("appid") String appid,
                          @Param("secret") String secret,
                          @Param("code") String code);
}
